import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Antd from 'ant-design-vue'; //引入组件
import 'ant-design-vue/dist/reset.css'; //引入css样式
import * as Icons from '@ant-design/icons-vue'
// import axios from 'axios';

// createApp(App).use(store).use(router).use(Antd).mount('#app')
const app = createApp(App)
app.use(Antd).use(store).use(router).mount('#app');

//全局使用图标
const icons= Icons;
for (const i in icons) {
  app.component(i, icons[i]);
}

